package com.dengyafei.service;

import com.dengyafei.bean.GraduateEntity;
import com.dengyafei.domin.dto.GraduateInfoDTO;
import com.dengyafei.domin.dto.GraduateIntroductionDTO;
import com.dengyafei.domin.vo.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;


/**
 * @author 邓亚非
 */
public interface GraduateService {

    /**
     * 应届生注册接口
     *
     * @param graduateRegisterVO
     * @return
     */
    Integer graduateRegister(GraduateRegisterVO graduateRegisterVO);

    Integer graduateLogin(GraduateLoginVO graduateLoginVO);

    Integer graduateFindPassword(ResetPasswordVO resetPasswordVO);

    Integer graduateUpdatePassword(ResetPasswordVO resetPasswordVO);

    GraduateEntity queryByName(GraduateUpdatePasswordVO graduateUpdatePasswordVO);

    GraduateIntroductionDTO queryMyIntroduction();

    GraduateInfoDTO queryByGid();

    Integer updateGraduateInfo(GraduateUpdateVO graduateUpdateVO) throws ParseException;

    Integer updateGraduatePassword(GraduateUpdatePasswordVO graduateUpdatePasswordVO);

    Boolean saveHeadImage(GraduateHeadImageVO graduateHeadImageVO) throws IOException;

    String queryImageUrl();

    List<GraduateEntity> queryGraduates();
}
